/**
 * ZHU framework. Copyright 2012-, all rights reserved.
 *
 * $Id: ConversationalController.java 39 2012-09-12 08:50:12Z zhuxiaopeng $
 * $Revision: 39 $
 * $Date: 2012-09-12 16:50:12 +0800 (三, 2012-09-12) $
 * $Author: zhuxiaopeng $
 */
package zhu.framework.web.application;

import javax.faces.context.*;

public class WebExceptionHandlerFactory extends ExceptionHandlerFactory {

	private final ExceptionHandlerFactory base;

	public WebExceptionHandlerFactory(final ExceptionHandlerFactory base) {
		this.base = base;
	}

	@Override
	public ExceptionHandler getExceptionHandler() {
		return new WebExceptionHandler(base.getExceptionHandler());
	}

}
